<%@ page language="java" contentType="text/html; charset=EUC-KR"
	pageEncoding="EUC-KR"%>
<%@ page import="mysql.MysqlConnect"%>
<%@ page import="mysql.GuestBookQuery"%>
<%@ page import="java.sql.*"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=EUC-KR">
<title>sendQuery.jsp</title>
</head>
<body>
	<%
		Connection con = MysqlConnect.getConnection();

		String query = request.getParameter("query");

		GuestBookQuery.send(con, query);
	%>

	<%=con%><br>
	<%=query%>
</body>
</html>